package com.example.project.service;

import com.example.project.base.BaseService;
import com.example.project.entity.TRole;

public interface TRoleService extends BaseService<TRole> {
    Integer giveModuleByRole(Integer roleId, Integer moduleId);

    Integer takeBackModuleByRole(Integer roleId, Integer moduleId);

    Integer addRole(TRole tRole);


    Integer updateRole(TRole tRole);
}
